extends "DongHuaPlayerFather.gd"

var player

func play(list):
	Global.dongHuaPlayerStay.append(self)
	if list.size()<2:
		emit_signal("complete")
	else:
		player=splitDongHua(list[1])
		emit_signal("complete")

func onChildComplete():
	Global.dongHuaPlayerStay.erase(self)
	pass